/*
 * 用户管理
 *
 * This is a basic example for apiDoc.
 * Documentation blocks without @api (like this block) will be ignored.
 */

/**
 * @api {post} /admin/users/save 添加用户到crm
 * @apiName save
 * @apiGroup 用户管理
 *
 * @apiParam {Array} list 新增用户.
 * @apiParam {String} list.group_id 角色.
 * @apiParam {String} list.structure_id 部门.
 * @apiParam {String} list.remote_id 远程user_id.
 * @apiParam {String} list.username 用户名.
 * @apiParam {String} list.realname 用户名.
 *
 * @apiParamExample {json} 请求示例.
 *
 * {
 *     list: [
 *     {
 *     "structure_id":[1],
 *     "group_id":[8],
 *     "remote_id":"5edd8f242d75b04a31714aa6",
 *     "username":"13275020634",
 *     "realname":"\u6210\u957f\u5feb\u4e50"
 *     },
 *     { ... }
 *     ]
 * }
 *
 *
 * @apiSuccess {String} code 200.
 * @apiSuccess {String} data  数组.
 * @apiSuccess {String} error  空字符.
 *
 * @apiSuccessExample Success-Response:
 *     HTTP/1.1 200 OK
 *      {
 *       "code": "200",
 *       "error": "",
 *       "data": "添加成功"
 *     }
 *
 * @apiError 400 具体错误信息.
 *
 * @apiErrorExample Error-Response:
 *     HTTP/1.1 400 Not Found
 *     {
 *       "code": "400",
 *       "error": "UserNotFound",
 *       "data": ""
 *     }
 */
